package com.springboot.mybatis.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.springboot.mybatis.dao.SysUserMapper;
import com.springboot.mybatis.entity.SysUser;
import com.springboot.mybatis.module.admin.index.dto.ParamDTO;

@Service
public class SysUserService {
    
    @Resource
    SysUserMapper sysUserMapper;

    public List<SysUser> selectAll(SysUser user) {
        List<SysUser> list = sysUserMapper.selectAll(user);
        return list;
    }

    public SysUser selectById(int id) {
        return sysUserMapper.selectById(id);
    }
    
}
